package com.xbongbong.pro.businessdata.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Getter
@Setter
@ToString
public class OrderReviewDTO extends BaseDTO {

    private static final long serialVersionUID = 5766614061379091147L;

    /**
     * 审核通过 作废
     * 通过 1   作废 2
     */
    @Range(min = 1,max = 2,message = "{dto.msg.review.Range}")
    private Integer review;

    /**
     * 当前数据ID
     */
    @NotNull(message = "{dto.msg.orderRevice.dataId.NotNull}")
    private Long dataId;

    /**
     * 作废原因
     */
    private String memo;
}
